package eteam.aps.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import eteam.aps.common.entity.ParentEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 工序信息;
 *
 * @author LiuLei
 */
@ApiModel(value = "WorkingProcedure", description = "工序信息")
@TableName("zn_working_procedure")
public class WorkingProcedure extends ParentEntity {

    /**
     * 工序编号;工序编号
     */
    @TableField("FCode")
    @ApiModelProperty(name = "工序编号", notes = "工序编号")
    private String fCode;

    /**
     * 工序名称;工序名称
     */
    @TableField("FName")
    @ApiModelProperty(name = "工序名称", notes = "工序名称")
    private String fName;

    /**
     * 工段编号;工段编号
     */
    @TableField("FDCode")
    @ApiModelProperty(name = "工段编号", notes = "工段编号")
    private String fDCode;
    /**
     * 工段编号;工段编号
     */
    @TableField("FPreCheck")
    @ApiModelProperty(name = "是否需要前置检查[0 不检查，1 检查];", notes = "是否需要前置检查[0 不检查，1 检查];")
    private Integer fPreCheck;
    /**
     * 工段编号;工段编号
     */
    @TableField("FPreCheckCode")
    @ApiModelProperty(name = "前置工序编码;", notes = "前置工序编码;")
    private String fPreCheckCode;

    /**
     * 工段名称;工段名称
     */
    @TableField("FDName")
    @ApiModelProperty(name = "工段名称", notes = "工段名称")
    private String fDName;

    /**
     * 加工时间;加工时间
     */
    @TableField("FWorkTime")
    @ApiModelProperty(name = "加工时间", notes = "加工时间")
    private int fWorkTime;

    public WorkingProcedure() {
    }

    public WorkingProcedure(String fCode, String fName, String fDCode, String fDName, int fWorkTime) {
        this.fCode = fCode;
        this.fName = fName;
        this.fDCode = fDCode;
        this.fDName = fDName;
        this.fWorkTime = fWorkTime;
    }

    public String getfCode() {
        return fCode;
    }

    public void setfCode(String fCode) {
        this.fCode = fCode;
    }

    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName;
    }

    public String getfDCode() {
        return fDCode;
    }

    public void setfDCode(String fDCode) {
        this.fDCode = fDCode;
    }

    public Integer getfPreCheck() {
        return fPreCheck;
    }

    public void setfPreCheck(Integer fPreCheck) {
        this.fPreCheck = fPreCheck;
    }

    public String getfPreCheckCode() {
        return fPreCheckCode;
    }

    public void setfPreCheckCode(String fPreCheckCode) {
        this.fPreCheckCode = fPreCheckCode;
    }

    public String getfDName() {
        return fDName;
    }

    public void setfDName(String fDName) {
        this.fDName = fDName;
    }

    public int getfWorkTime() {
        return fWorkTime;
    }

    public void setfWorkTime(int fWorkTime) {
        this.fWorkTime = fWorkTime;
    }
}